// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
const apiPrefix = '/web';

/** 导出日放电深度数据 GET /statistic/dod/export */
export async function statisticDodControllerExportDodDatas(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticDodControllerExportDodDatasParams,
  options?: { [key: string]: any },
) {
  return request<any>(`${apiPrefix}/statistic/dod/export`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取日放电深度数据 GET /statistic/dod/list */
export async function statisticDodControllerGetDodList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.statisticDodControllerGetDodListParams,
  options?: { [key: string]: any },
) {
  return request<API.ApiResultPaginationStatisticDodPageVo>(`${apiPrefix}/statistic/dod/list`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
